package com.cy.ppj.model.query;


import com.cy.ppj.model.Page;
import com.cy.ppj.model.enums.OrderStatus;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 后台-根据类型参数type查询订单明细
 * @author: tanyilin
 * @create: 2018年8月1日 上午10:37:28
 */
@Data
@ApiModel("后台-根据类型参数type查询订单明细")
public class OrderAdminByTypeQuery extends Page{

	@ApiModelProperty(value = "查询类型：1-根据userId来查询经纪人个人提单明细，2-经纪人的团队提单明细，3-渠道公司的团队提单明细", example = "0")
	private Integer type;
	
	@ApiModelProperty(value = "订单状态")
	private OrderStatus orderStatus;
	
	@ApiModelProperty(value = "用户ID", example = "0", required = true)
	private Long userId;
	
	@ApiModelProperty(value = "公司ID", example = "0", required = true)
	private Long companyId;
}
